//
//  MKCustomAsSegmentVIew.h
//  YiQiWang
//
//  Created by moyekong on 15/3/13.
//  Copyright (c) 2015年 Apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MKCustomAsSegmentViewDelegate <NSObject>

- (void)clickedCustomSegmentViewButton:(NSInteger)btnNum;

@end


@interface MKCustomAsSegmentView : UIView

@property (nonatomic, assign) id<MKCustomAsSegmentViewDelegate>delete;
@property (nonatomic, strong) UIView * selectedView;

- (instancetype)initWithFrame:(CGRect)frame
          andSegmentDataArray:(NSMutableArray *)nameArray;
- (void)animateSelectedViewWithNum:(NSInteger)btnNum;

@end
